package scsc.web.system.data;

import scsc.pub.data.DocManage;

public class DocManageData
    extends DocManage {
  private String sortName;
  private String tpdetailName;
  public DocManageData() {
    init();
  }

  public DocManageData(Integer docSeq, String docName, String shortDoc,
                       String sort, String sortName, String tpdetail,
                       String tpdetailName, String assoId,
                       String fileName, String fileDir, Integer fileSize,
                       String fileState, String uptime, String docNote) {
    this.setDocSeq(docSeq);
    this.setDocName(docName);
    this.setShortDoc(shortDoc);
    this.setSort(sort);
    this.setSortName(sortName);
    this.setTpdetail(tpdetail);
    this.setTpdetailName(tpdetailName);
    this.setAssoId(assoId);
    this.setFileName(fileName);
    this.setFileDir(fileDir);
    this.setFileSize(fileSize);
    this.setFileState(fileState);
    this.setUptime(uptime);
    this.setDocNote(docNote);
  }

  public String getSortName() {
    return this.sortName;
  }

  public void setSortName(String sortName) {
    this.sortName = sortName;
  }

  public String getTpdetailName() {
    return this.tpdetailName;
  }

  public void setTpdetailName(String tpdetailName) {
    this.tpdetailName = tpdetailName;
  }

  public void reset() {
    init();
  }

  public void init() {
    this.setDocSeq(null);
    this.setDocName("");
    this.setShortDoc("");
    this.setSort("");
    this.setSortName("");
    this.setTpdetail("");
    this.setTpdetailName("");
    this.setAssoId(null);
    this.setFileName("");
    this.setFileDir("");
    this.setFileSize(null);
    this.setFileState("");
    this.setUptime("");
    this.setDocNote("");
  }

}
